const http = uni.$u.http

// 登录，然后获取到token
export const loginByMobile = (data) => http.post('/u/loginByMobile',data)
// 发送短信验证码
export const sendRegisterOrLoginCaptcha = (data) => http.get('/sms/sendRegisterOrLoginCaptcha',{data})
// 用户名 密码登录
export const loginByJson = (data) => http.post('/u/loginByJson',data)